import request from 'h5/api/request/request'

//公众号获取openid
export function getOpenid(params) {
    return request.get({
        apiName: '公众号获取openid',
        url: `${request.httpUrl['h5-api']}/registration/authorization_code`,
        params,
        loading: false,
    })
}

export function submitForm(data) {
    return request.post({
        apiName: '报名提交',
        url: `${request.httpUrl['h5-api']}/registration/submit`,
        data,
        loading: true,
    })
}



